package com.gitee.fanx.retty.spring.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author fanhang
 */
@Configuration
@ConfigurationProperties(prefix = "retty.server")
public class RettyProperties {

	/** port */
	private int port = 8080;

	/** path */
	private String contextPath = "/";

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public String getContextPath() {
		return contextPath;
	}

	public void setContextPath(String contextPath) {
		this.contextPath = contextPath;
	}

}
